<?php
		session_start();
	error_reporting(E_ALL | E_STRICT);
	ini_set('display errors', 1);
	date_default_timezone_set('Europe/London');
	set_include_path('./lib'.PATH_SEPARATOR.'applications/models');	
	require_once "config.php";	
	require_once "header.php";
	
	include "./applications/default/components/loadMainContent.php";
	
	
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php include "./lib/headinit.php" ?>
</head>

<body>
<div id="daddy">
	<div id="header">
		<?php $activemenu="news"; include "./lib/menuinit.php" ?>
	</div>
	<!-- header -->
	<div id="content">
		<div id="cA">
			            
            
            <!-- menu doc --->
            <?php include "./applications/default/components/loadVerticalMenu.php";?>
			<!-- ket thuc menu doc --->            



            
		</div><!-- cA -->
		<div id="cB">
			<div class="Ctopright"></div>
			<div id="cB1">
            <h3><?php echo $typename;?></h3>
            <?php echo $maincontent;?>
            </div> <!-- end cB1-->
		</div><!-- cB -->
		<div class="Cpad">
			<br class="clear" /><div class="Cbottomleft"></div><div class="Cbottom"></div><div class="Cbottomright"></div>
		</div><!-- Cpad -->
	</div><!-- content -->
	<div id="properspace"></div><!-- properspace -->
</div><!-- daddy -->
<?php include "./lib/footer.php" ?>
</body>
</html>
